package com.iocup.keybastion.configuration;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class TokenExtractProperties {

    private String headerName = "Authorization";

    private String prefixHeader = "Bearer";

    private boolean headerTrimValue = true;

    private boolean closeParameter = false;

    private  String parameterName= "Authorization";

    private boolean supportGetRequest = true;

    private boolean supportPostRequest = true;

    private  boolean closeCookie = false;

    private  String cookieName = "security-token";

    private String refreshTokenHeaderName = "RefreshToken";

    private String refreshTokenParameterName = "RefreshToken";

}
